package cn.stylefeng.guns.modular.vlt.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 参加活动人员表
 * </p>
 *
 * @author 
 * @since 2020-12-16
 */
@TableName("vlt_active_member")
public class ActiveMember implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 活动id（北方网）
     */
    @TableField("act_id")
    private String actId;

    /**
     * 志愿活动ID
     */
    @TableField("active_id")
    private Long activeId;

    /**
     * 工作单位pk
     */
    @TableField("dict_work_unit_id")
    private Long dictWorkUnitId;

    /**
     * 志愿团体ID
     */
    @TableField("team_id")
    private Long teamId;

    /**
     * 志愿者ID
     */
    @TableField("member_id")
    private Long memberId;

    /**
     * 电话
     */
    @TableField("member_tel")
    private String memberTel;

    /**
     * 姓名
     */
    @TableField("member_name")
    private String memberName;

    /**
     * 年龄
     */
    @TableField("member_age")
    private String memberAge;

    /**
     * 服务时长
     */
    @TableField("service_duration")
    private BigDecimal serviceDuration;

    /**
     * 服务日期
     */
    @TableField("service_date")
    private Date serviceDate;

    /**
     * 是否应该参加： 0是 1否   (这个字段现在不用)
     */
    @TableField("come_flag")
    private String comeFlag;

    /**
     * 服务时长修改(这个字段现在不用)
     */
    @TableField("service_duration_edit")
    private BigDecimal serviceDurationEdit;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    @TableField("del_flag")
    private Boolean delFlag;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getActId() {
        return actId;
    }

    public void setActId(String actId) {
        this.actId = actId;
    }

    public Long getActiveId() {
        return activeId;
    }

    public void setActiveId(Long activeId) {
        this.activeId = activeId;
    }

    public Long getDictWorkUnitId() {
        return dictWorkUnitId;
    }

    public void setDictWorkUnitId(Long dictWorkUnitId) {
        this.dictWorkUnitId = dictWorkUnitId;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberTel() {
        return memberTel;
    }

    public void setMemberTel(String memberTel) {
        this.memberTel = memberTel;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberAge() {
        return memberAge;
    }

    public void setMemberAge(String memberAge) {
        this.memberAge = memberAge;
    }

    public BigDecimal getServiceDuration() {
        return serviceDuration;
    }

    public void setServiceDuration(BigDecimal serviceDuration) {
        this.serviceDuration = serviceDuration;
    }

    public Date getServiceDate() {
        return serviceDate;
    }

    public void setServiceDate(Date serviceDate) {
        this.serviceDate = serviceDate;
    }

    public String getComeFlag() {
        return comeFlag;
    }

    public void setComeFlag(String comeFlag) {
        this.comeFlag = comeFlag;
    }

    public BigDecimal getServiceDurationEdit() {
        return serviceDurationEdit;
    }

    public void setServiceDurationEdit(BigDecimal serviceDurationEdit) {
        this.serviceDurationEdit = serviceDurationEdit;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Boolean getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Boolean delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "ActiveMember{" +
        "id=" + id +
        ", actId=" + actId +
        ", activeId=" + activeId +
        ", dictWorkUnitId=" + dictWorkUnitId +
        ", teamId=" + teamId +
        ", memberId=" + memberId +
        ", memberTel=" + memberTel +
        ", memberName=" + memberName +
        ", memberAge=" + memberAge +
        ", serviceDuration=" + serviceDuration +
        ", serviceDate=" + serviceDate +
        ", comeFlag=" + comeFlag +
        ", serviceDurationEdit=" + serviceDurationEdit +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        ", delFlag=" + delFlag +
        "}";
    }
}
